<?php

require 'form_strain.inc';

$strain = R::dispense('weedstrain');
$strain->Name = 'Weed Strain Name';

$f = new Form_Strain($strain);
if(count($_POST) > 0) 
	print 'Strain saved.';
else
	$f->Render();

print '<br /><br /><a href="/strains">Strains List</a>';
